<template>
  <div>
    <ul>
      <li @click="addFollow(1)">不要乱点1</li>
      <li @click="addFollow(2)">不要乱点2</li>
      <li @click="addFollow(3)">不要乱点3</li>
      <li @click="addFollow(4)">不要乱点4</li>
      <li @click="addFollow(5)">不要乱点5</li>
      <li @click="addFollow(6)">不要乱点6</li>
    </ul>
  </div>
</template>

<script>
import addFollowApi from '@/api/myfollow'
export default {
  data() {
    return {

    }
  },
  methods: {
    addFollow(id) {
      addFollowApi.addFollow(id).then(res => {
        console.log(res);
      }).catch((err) => {
        console.log(err.message);
      });
    }
  }
}
</script>

<style scoped>
</style>
